package service;

import dao.BookManageDao;
import entity.BookManage;

import java.util.List;

public class BookManageService {
    BookManageDao bookManageDao = new BookManageDao();

    public List<BookManage> bookList(){
        return bookManageDao.bookList();
    }

    public int bookAdd(BookManage bookManage){
        return bookManageDao.bookAdd(bookManage);
    }

    public int bookDelete(int id){
        return bookManageDao.bookDelete(id);
    }
}
